<?php
/** Copyright 2014 TinPhp Systems, Inc.
 * @author zhangxilian 2013-1-20
 * @package TinPhp
 */
/** TinPHP框Parse异常类 */
class TinParseException extends Exception
{
  public function __construct($message="", $code = 0) {

    parent::__construct($message, $code);
  }

  public function __toString() {
    return "Exception info: " . __CLASS__ . ": [{$this->code}]: {$this->message}\n";
  }
 
}

?>
